package com.umeox.watch.worshiplearn.ui

import android.content.Intent
import android.os.Bundle
import android.widget.LinearLayout
import com.umeox.moto.watch.themes.app.ThemeAppCompatActivity
import com.umeox.watch.worshiplearn.R

/**
 * Created by Rambo 2022/9/10
 * Describe:
 */
class ParyActivity : ThemeAppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.pray_activity)
        findViewById<LinearLayout>(R.id.ll_boy).setOnClickListener {
            val intent = Intent(this@ParyActivity,ParyViewPagerActivity::class.java)
            intent.putExtra(ParyViewPagerActivity.GENDER_EXTRA,ParyViewPagerActivity.GENDER_BOY)
            startActivity(intent)
        }

        findViewById<LinearLayout>(R.id.ll_girl).setOnClickListener {
            val intent = Intent(this@ParyActivity,ParyViewPagerActivity::class.java)
            intent.putExtra(ParyViewPagerActivity.GENDER_EXTRA,ParyViewPagerActivity.GENDER_GIRL)
            startActivity(intent)
        }
    }
}
